<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="layout :: head(~{ :: title}, ~{ :: link}, ~{ ::script},~{::style})">
    <meta charset="utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <title>商户管理平台-用户申请机构列表</title>
    <link rel="stylesheet" th:href="@{/plugins/jquery-confirm/jquery-confirm.min.css}"/>
    <script th:src="@{/plugins/jquery-confirm/jquery-confirm.min.js}"></script>
    <style></style>
</head>
<body th:replace="layout::body(~{this::section})">
<section class="content-wrapper">
    <section class="content-header">
        <h1>
            用户申请机构
            <small>列表</small>
        </h1>
        <ol class="breadcrumb">
            <li><a href="/"><i class="fa fa-dashboard"></i>商户管理平台</a></li>
            <li class="active">用户申请</li>
        </ol>
    </section>
    <section class="content">
        <div th:if="${respMsg != ''}" class="alert alert-danger alert-dismissible">
            <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
            <h4><i class="icon fa fa-ban"></i> 操作提示</h4>
            <label th:text="${respMsg}"/>
        </div>
        <div class="row">
            <div>
                <div class="col-md-1">
                    <a th:href="@{/MpsOrg/ApplyOrg/goMpsApplyOrgAdd}" class="btn btn-block btn-primary">新增</a>
                </div>
            </div>
        </div>
        <div class="row">
            <table class="table table-bordered table-hover">
                <thead>
                <tr>
                    <th style="text-align: center"><input type="checkbox"/></th>
                    <th style="text-align: center">用户名</th>
                    <th style="text-align: center">申请机构</th>
                    <th style="text-align: center">申请备注</th>
                    <th style="text-align: center">申请状态</th>
                    <!--<th style="text-align: center">操作</th>-->
                </tr>
                </thead>
                <tbody>
                <!--/*@thymesVar id="WebUserList" type="java.util.List"*/-->
                <tr th:each="item:${checkOrgs}" style="text-align: center">
                    <td><input type="checkbox" th:value="${item.id}"/></td>
                    <td th:text="${item.name}"></td>
                    <td>
                        <span th:each="org:${item.org}">
                            <span th:text="${org}"></span>
                            <span> </span>
                        </span>
                    </td>
                    <td th:text="${item.descr}"></td>
                    <td th:text="${item.status}"></td>
                    <!--<td>-->
                        <!--<span>-->
                            <!--<span>-->
                                <!--<a th:href="@{/MpsUser/Delete(id=${item.id})}" onclick="return confirm('确定删除?');">删除</a>-->
                            <!--</span>-->
                            <!--<span>-->
                                <!--<a th:href="@{/MpsUser/goMpsUserEdit(id=${item.id})}">修改</a>-->
                            <!--</span>-->
                        <!--</span>-->
                    <!--</td>-->
                </tr>
                </tbody>
            </table>
        </div>
    </section>
</section>
</body>
</html>